import java.util.*;

public class te {


    public static void main(String[] args) {

        List<String> list=new ArrayList<>();
        Collections.sort(list, (o1, o2)-> {
                //return o2.length()-o1.length();//按长度降序
                return  o1.length()-o2.length();//长度升序

        });





    }



}
